/*!
 * Xin Style
 *---------------------------------------------*/
.clearfix:before,
.clearfix:after {
  display: table;
  content: "";
  line-height: 0;
}
.clearfix:after {
  clear: both;
}
/* General */
a {
	color: #444444;
}
ul, ol {
	margin-left: 1em;
}
object, embed, iframe {
	max-width: 100%;
}
body {
	-ms-word-wrap: break-word;
	word-wrap: break-word;
	background: none;
}
/* Foundation Modificiation */
/* Top bar */
.contain-to-grid .top-bar,
.top-bar {
	margin-top: 0;
	margin-bottom: 0;
	max-width: 1080px;
}

.top-bar-section ul {
	background: #111111;
}

.top-bar .name h3 {
	line-height: 45px;
	font-size: 1.0625em;
	margin: 0;
}
	  
.top-bar .name h3 > a {
	font-weight: bold;
	color: #00abfd; 
	display: block;
	padding: 0 15px;
}
		
.top-bar.expanded {
	background: none;
}

.admin-bar .sticky-topbar.fixed {
	margin-top: 28px;
}
/* Table */
table,
table tr.even,
table tr.odd,
table tr.alt,
table tr:nth-of-type(2n) {
	background: rgba(0,0,0,0.05);
	border-color: rgba(0,0,0,0.1);
}

table thead,
table tfoot {
	background: rgba(0,0,0,0.2);	
}

table tr.odd {
	background: rgba(0,0,0,0.1);	
}

table thead tr th,
table thead tr td,
table tfoot tr th,
table tfoot tr td,
table tr th,
table tr td {
	color: inherit;
}
/* grid width */
.row {
	max-width: 1080px;
}
/* WP required class */
.wp-caption {
	margin-bottom: 1em;
	max-width: 100%;
	text-align: center;
}

.wp-caption p.wp-caption-text {
	margin: 0.5em;
	color: #888;
}

.alignleft {
	display: inline;
	float: left;
	margin-right: 1em;
	margin-bottom: 1em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1em;
	margin-bottom: 1em;
}

.aligncenter {
	clear: both;
	display: block;
	margin: 1em auto;	
}

.gallery .gallery-caption {
	margin: 0 0 1em;
	font-size: 0.8em;
}

.gallery dl {
	margin: 0;
}

.format-gallery .entry-content {
	clear: both;
}
.bypostauthor {
	
}
/* Section */
.section-bar {
	box-shadow: 0 5px 5px -5px rgba(0, 0, 0, 0.65);
	margin-bottom: 1px;
	padding: 5px 0 5px 0;
	background: #F1F1F1;
}

.section-bar ul li {
	padding: 0 2px 0 0;
}
.section-bar ul li a {
	display: block;
	color: #fff;
	padding: 3px 5px;
	font-weight: bold;
}

.section-home {
	margin-top: 1em;
	border-right: 1px solid #ccc;
}
.section-title {
	font-size: 1.2em;
	border-top: 3px solid #6B7B84;
	padding: 0.25em 0;
	margin: 0;
}

.section-more {
	font-size: 1.2em;
	padding: 0.25em;
	color: #eee;
}
.section-image {
	margin: 0.25em 0;	
}
.section-item {
	border-top: 1px solid #ccc;
	padding-top: 2px;
}
.section-top {
	font-size: 1em;
}

.section-index {
	font-size: 0.8em;	
}


/* Background */
.site-header {
	background: #f1f1f1;
}

#footer {
	background: #e8e8e8;	
}

#content {
	min-height: 40em;
	padding-top: 1em;
}

#sidebar_one {
	border-right: 1px solid #ccc;
}

#content.large-12 {
	border-right: none;	
}

.custom-background .site-header {
	background: none;
}

.custom-background #footer {
	color: #ddd;
	background: rgba(50, 50, 50, 0.8);
}

.custom-background .row-container  {
	background: #f1f1f1;
	background: rgba(250,250,250, 0.8);
	box-shadow: 5px 0 5px -5px rgba(0, 0, 0, 0.65), -5px 0 5px -5px rgba(0, 0, 0, 0.65);
}

/* Header */
.site-title {
	float: left;
}
h3#site-title {
	font-size: 3em;
	line-height: 1;	
	margin-top: 0.25em;
	text-shadow: 1px 1px 0px #666, 4px 4px 0px rgba(0, 0, 0, 0.15);
	filter: Shadow(Color=#666, Direction=135, Strength=4);
	font-variant: small-caps;
}

#site-title a {
	color: #00abfd; 	
	text-decoration: none;
}

h3#site-description {
	font-size: 1em;
	color: #999;
}

#logo {
	max-width: 100%;
}

/* Post */
.entry-title {
	font-size: 1.5em;
	line-height: 1.1em;
}

.hentry {
	margin: 0 0 1em;
	position: relative;
	padding: 1em 0;
	border-top: 1px solid #ccc;
}

.single-post-link {
	position: absolute;
	right: 5px;
	top: 45%;
	text-decoration: none;
}

#nav-above {
	display: none;
}

#nav-single {
	padding: 0.8em 0;
}
.nav-previous {
	float: left;
}

.nav-next {
	float: right;
	text-align: right;
}

.page-numbers.current {
	padding: 0.2em 0.3em;
	background: #bbe9ff;
}

.page-link {
	clear: both;
	margin: 20px 0 12px 0;
	word-spacing: 3px;
}

.page-link a {
	font-weight: normal;
	padding: 4px 6px;
	text-decoration: none;
	border: 1px solid #999;
}

.page-link a:hover {
	background: #999;
}

.entry-meta {
	font-size: 0.875em;
	line-height: 1.25;
}

.entry-featured  {
	color: #d20000;	
	text-transform: uppercase;
}

.entry-meta-attachment {
	margin-bottom: 1em;	
}

.attachment img {
	display: block;	
	margin: 0 auto;

}
.entry-attachment {
	margin-top: 2em;
}

.entry-meta a {
	color: #555;
}

.meta-icon {
	margin-right: 0.3em;	
}

.entry-featured,
.meta-comment,
.entry-date,	
.by-author,	
.entry-category,
.entry-tag {
	margin-right: 0.5em;
}

.entry-content {
	margin-top: 1em;
}

.edit-link {
	margin-left: 0.5em;
}

.entry-meta-summary,
.entry-meta-bottom {
	margin-top: 0.5em;
}
.entry-summary .more-link {
	color: #0C95D6;
}
/* Post Formats */
.multi .format-aside .entry-title,
.multi .format-aside .post-date-2,
.multi .format-aside .entry-meta {
	display: none;
}

.multi .format-link .entry-title,
.multi .format-link .post-date-2,
.multi .format-link .entry-meta {
	display: none;
}

.format-link .entry-summary a:before,
.format-link .entry-content a:before {
	font-family: "FontAwesome";
	content: "\f0ac";
	margin-right: 10px;
}

.format-link .entry-summary a,
.format-link .entry-content a {
	font-size: 18px;
}

.multi .format-quote .post-date-2,
.multi .format-quote .entry-title,
.multi .format-quote .entry-meta {
	display: none;	
}
.format-aside .entry-content,
.format-aside .entry-summary,
.format-quote .entry-content,
.format-quote .entry-summary {
	position: relative;
	background:#f1f1f1;
	padding: 1.5em 0.8em 0.8em 2em;
	margin: 10px 0;
	background:#f1f1f1;
	border-left: 20px solid #e1e1e1;	
}

.format-quote blockquote {
	margin: 0;
	border: none;
}
.entry-content blockquote cite {
	margin: 5px 0 0;
	display: block;
}

.format-quote .entry-content:before,
.format-quote .entry-summary:before {
	position: absolute;
	top: 30px;
	left: -5px;
	font-family: "FontAwesome";
	content: "\f10d";
	font-size: 36px;
	color: #888;
}
/* Author Information */
#author-info {
	border-top: 4px solid rgba(0, 0, 0, 0.3);
	clear: both;
	margin: 1em 0;
	overflow: hidden;
	padding: 1em;
}

#author-info #author-avatar {
	background: #e1e1e1;
	float: left;
	padding: 5px;
	margin: 0 10px 0 0;
}

#author-info #author-description {
	float: left;
}

#author-info h2 {
	font-size: 1.2em;
}
/* Full Screen*/
.fullscreen #content {
	margin-top: 10%;
	margin-bottom: 10%;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px;
	background: rgba(180, 176, 157, 0.8);
}

.fullscreen .hentry {
	padding: 2em;
}

.fullscreen .entry-title {
	font-size: 2.2em;
	text-align: center;
}
.fullscreen .entry-content {
	font-size: 1.2em;
}

.fullscreen .entry-content a {
	color: #005f8c;
}

.fullscreen .entry-content .btn {
	color: #ffffff;	
}
.fullscreen .post-date-2,
.fullscreen .entry-meta {
	display: none;
}

.fullscreen .entry-meta .edit-link {
	display: inlne;
}
/* Post Date */
.post-date-2 {
	float: left;
	width: 52px;
	text-align: center;
	margin: 0 1em 0 0;
	border: solid 1px #bebebe;
	background-color: #fff;
	background-image: -moz-linear-gradient(top,  rgba(255,255,255,0) 0%, rgba(0,0,0,0.1) 100%);
	background-image: -webkit-linear-gradient(top,  rgba(255,255,255,0) 0%,rgba(0,0,0,0.1) 100%);
	background-image: linear-gradient(to bottom,  rgba(255,255,255,0) 0%,rgba(0,0,0,0.1) 100%);
	border-radius: 5px;
	box-shadow: 0 1px 1px rgba(0,0,0,.15);}

.post-date-2 .month {
	color: #fff;
	font: 11px/100% Arial, Helvetica, sans-serif;
	text-transform: uppercase;
	letter-spacing: 1px;
	display: block;
	padding: 2px 0;
	width: 100%;
	position: relative;
	left: 0px;
	top: -1px;
	border: solid 1px #5984db;
	background-color: #00ABFD;
	background-image: -moz-linear-gradient(top,  rgba(255,255,255,.2) 0%, rgba(0,0,0,.2) 100%);
	background-image: -webkit-linear-gradient(top,  rgba(255,255,255,.2) 0%,rgba(0,0,0,.2) 100%);
	background-image: linear-gradient(to bottom,  rgba(255,255,255,.2) 0%,rgba(0,0,0,.2) 100%);
	box-shadow: 0 1px 0 rgba(0,0,0,.2);
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
}

.post-date-2 .day {
	color: #666;
	padding: 2px 0 1px;
	font: bold 18px/100% Arial, Helvetica, sans-serif;
	display: block;
}
.post-date-2 .year {
	color: #999;
	padding: 0 0 4px;
	font: 10px/100% Arial, Helvetica, sans-serif;
	display: block;
}
.img-magzine,
.img-polaroid {
	padding: 3px;
	width: 100%;
	background-color: #fff;
	border: 1px solid #ccc;
	border: 1px solid rgba(0, 0, 0, 0.2);
	-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
	-moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.img-magzine {
	width: auto;
	max-width: 40%;
}
.featured-image {
	margin-bottom: 1.5em;
}

.fullscreen-image {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  min-height: 100%;
  min-width: 1024px;
  width: 100%;
  height: auto;	
}

@media screen and (max-width: 1024px) { 
  .fullscreen-image {
    left: 50%;
    margin-left: -512px;
  }
}
.featured-container {
	position: absolute;
	left: 0px;
	top: 1em;
	color: #ff5959;
}

.thumb-magazine .featured-container {
	top: 0;
	left: 1em;	
}
.featured-container .icon-star {
	margin-left: 5px;
}
/* Post Summary */
.post-thumbnail {
	display: inline;
	float: left;
	margin-right: 0.875em;
	margin-bottom: 0.875em;
}

.xinwp_recent_post {
	position: relative;
}

.xinwp_recent_post .hentry {
	padding: 0;
	margin-bottom: 1em;
	border: none;
}

.xinwp_recent_post .entry-title {
	font-size: 1.1em;
	line-height: 1.2;
}
.xinwp_recent_post_link {
	position: absolute;
	top: 8px;
	right: 6px;
}

/* Comments */
.commentlist,
.children {
	margin: 0;
	list-style: none;
	font-size: 14px;
}

.children {
	margin-left: 2em
	
}
.comment-meta .avatar {
    border: 1px solid #ccc;
    padding: 3px;
	margin-right: 5px;
}
.commentlist p {
	margin: 0.35em 0;
}

.commentlist a {
	color: #333;
}
article.comment,
li.pingback {
	clear: both;
	overflow: hidden;
	padding: 0.5em;
    position: relative;
	border-bottom: 1px solid #ccc;
}
a.comment-reply-link {
	background-color: #7bb4ec;
	background: -webkit-gradient(linear, left top, left bottom, from(#7bb4ec), to(#468cd4));
	background: -moz-linear-gradient(top, #7bb4ec, #468cd4);
	background: linear-gradient(#7bb4ec, #468cd4);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#7bb4ec, endColorstr=#468cd4);
	border-radius: 3px;
	color: #eee;
    cursor: pointer;
    display: inline-block;
	float: right;
    opacity: 0.6;
    padding: 0 1em;
    text-align: center;
    text-shadow: 1px 1px #3e79b9;
}
a.comment-reply-link:hover {
	opacity: 1;
}
.form-allowed-tags {
	display: none;
}
#respond {
	clear: both;
}
/* Widgets */
.widget-container {
	margin-top: 1em;
	margin-bottom: 1em;
}

#nav-widget .widget-container {
	margin: 0;
}

.widget-area ul {
	list-style: none;
	margin: 0px;
	padding: 0;
}

.widget-area ul ul ul {
	margin-left: 0.8em;
}

.widget_recent_comments ul li {
	padding: 5px;	
	border-bottom: 1px solid #999;	
}

.widget_rss ul li,
.widget_nav_menu ul li,
.widget_pages ul li,
.widget_meta ul li,
.widget_archive ul li,
.widget_recent_entries ul li,
.widget_categories ul li {
	position: relative;
	margin: 0;
}
.widget_rss ul li a,
.widget_nav_menu ul li a,
.widget_meta ul li a,
.widget_recent_entries ul li a,
.widget_pages ul li a,
.widget_archive ul li a,
.widget_categories ul li a {
	display: block;
	padding: 5px;
	text-decoration: none;
	border-bottom: 1px solid #999;
}

.widget_rss ul li a:hover,
.widget_recent_comments ul li a:hover,
.widget_nav_menu ul li a:hover,
.widget_meta ul li a:hover,
.widget_recent_entries ul li a:hover,
.widget_pages ul li a:hover,
.widget_archive ul li a:hover,
.widget_categories ul li a:hover {
	background: #eee;
}

.widget_rss ul li a:before,
.widget_nav_menu ul li a:before,
.widget_meta ul li a:before,
.widget_recent_entries ul li a:before,
.widget_pages ul li a:before,
.widget_archive ul li a:before,
.widget_categories ul li a:before {
	font-family: "FontAwesome";
	content: "\f105";
	margin-right: 0.3em;	
}

.widget_archive ul li span,
.widget_categories ul li span {
	position: absolute;
	top: 3px;
	right: 10px;
	color: #999;
}

.widget-title {
	font-size: 1.2em;
	border-top: 3px solid #6B7B84;
	border-bottom: 1px solid #6B7B84;
	color: #6B7B84;
	padding: 0.25em 0;
	margin-bottom: 0;
}

#footer-widget-area .widget-title {
	border-top: none;
}

#nav-widget .widget-title,
#header-widget .widget-title {
	display: none;
}

#searchsubmit,
.widget_search label {
	display: none;
}

.search-query {
	max-width: 15em;
}

#topbar .search-query {
	width: 8em;
	background: #999;
	border: none;
}
#wp-calendar {
	width: 100%;
}
#wp-calendar th,
#wp-calendar td {
	padding: 0;
	text-align: center;
}
/* Navigation Tabs */
.xinwp_navigation .section-container.tabs > section > .title a {
	padding: 0.25em 0.5em;
}
/* Footer Menu */
/* Footer Menu Style */
.footer-menu {
	display: block;
	text-align: center;
	margin: 0;
}

.footer-menu ul {	
	padding: 0;
	margin:  0;
	list-style:none;
}

.footer-menu ul li ul,
.footer-menu ul li {
	display: inline;
}

.footer-menu ul li a {
	padding: 0 8px;
}

.footer-menu ul li {
	border-right: 1px solid #999;	
}

.footer-menu ul li:last-child {
	border-right: none;	
}

.footer-menu ul li ul li:first-child {
	border-left: 1px solid #999;		
}
/* Footer */
#footer {
	font-size: 0.8em;
	padding: 0.5em 1em;
}

.fullscreen #footer {
	position: fixed;
	width: 100%;
	bottom: 0;
}
#footer-widget-area {
	font-size: 0.8em;
	background: #e8e8e8;
}

#footer-widget-area .widget-container ul li,
#footer-widget-area .widget-container ul li a {
/*	border-bottom-color: #712400; */
}
#site-info,
#site-generator {
	color: #999;
	line-height: 1.5;
}

#site-info a,
#site-generator a {
	text-decoration: none;
}

#site-generator {
	font-style: italic;
	text-align: right;
	color: #999;	
}

#site-generator a {
	color: #999;
}
img#wpstats {
	display: none;
	margin: 0 auto 10px;
}
/* Back to top button */
.back-to-top {
	position: fixed;
	bottom: 10px;
	right: 10px;
}
.back-to-top a {
	color: #000;
	padding: 5px;
	background: #e1e1e1;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	text-decoration: none;
}

.back-to-top a:hover {
	background: #c1c1c1;
}

/*Featured Home Page*/
#headlines {
	border-right: 1px solid #ccc;
} 
#headlines-index {
	border-right: 1px solid #ccc;	
}
.flexslider {
	border: none;
	margin: 0;
	box-shadow: none;
	background: none;
}

.flexslider .slides > li {
	height: 350px;
}

.slider-caption {
	position: absolute;
	bottom: 0;
	background-color: black;
	background-color: rgba(0, 0, 0, 0.6);
	color: #fff;
	width: inherit;
	padding: 10px 14px;
	font-size: 0.875em;
}

.slider-caption p {
	margin: 0;
}
#featured .more-link {
	display: none;
}

#featured h2 {
	font-size: 1.8em;
}

.no-featured-image {
	padding: 2em;
}

.small-featured {
	padding: 1em 2em;
}

#featured-list {
	list-style: none;
	margin: 0;
	padding: 0;
	background: #ccc;
}

#featured-list li {
	position: relative;
	text-align: center;
	padding: 0.5em 0.5em 0;
	display: block;
}

#featured-list li.active:before {
	content: '';
	position: absolute;
	top: -10px;
	border-left: 10px solid transparent;
	border-right: 10px solid transparent;
	border-bottom: 10px solid #ccc;
}

.thumb-title {
	font-size: 1em;
}

/* Portfolio */
.portfolio > .item > .hentry {
	margin: 0;
    word-wrap: break-word;
	padding: 1em;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	background: #f5f5f5;
}
.portfolio .item {
	display: inline;
	float: left;
	margin: 10px 0.9% 10px 1%;
	width: 98%;
}

.portfolio.column-2 .item {
	width: 48%;
}

.portfolio.column-2 .item.sticky {
	width: 98%;
}

.portfolio.column-3 .item {
	width: 31.33%;
}

.portfolio.column-3 .item.sticky {
	width: 64.66%;
}

.portfolio.column-4 .item {
	width: 23%;
}

.portfolio.column-4 .item.sticky {
	width: 48%;
}

.portfolio .pagination  {
	display: none;
}


#infscr-loading { 
  text-align: center;
  z-index: 100;
  position: absolute;
  background: #999;
  color: #000;
  left: 45%;
  bottom: 10px;
  width: 200px;
  padding: 10px;
  opacity: 0.8;
  -webkit-border-radius: 10px;
     -moz-border-radius: 10px;
          border-radius: 10px;
}
/* Tablet Portrait and below */
@media screen and (max-width: 767px) {

.flexslider .slides > li {
	height: auto;
}

.footer-menu {
	clear: both;
}

.portfolio.column-4 .item {
	width: 48%;
}

.portfolio.column-2 .item.sticky,
.portfolio.column-3 .item.sticky,
.portfolio.column-4 .item.sticky {
	width: 98%;
}

}

/* Phones */
@media screen and (max-width: 480px) {

.site-title {
	float: none;
	display: block;
	text-align: center;
}

h3#site-title {
	font-size: 2em;
}

h3#site-description {
	font-size: 0.9em;
}

#site-info,
#site-generator {
	float: none !important;
	text-align: center;
	display: block;
}

.portfolio.column-2 .item,
.portfolio.column-3 .item,
.portfolio.column-4 .item {
	width: 98%;
}
	
.hentry {
	margin: 0 0 1em;
	padding: 0;
}

.slider-caption {
	display: none;
}
}
/* print */
@media print {

	h1 {
		page-break-before: always;
	}

	h1,  h2,  h3,  h4,  h5,  h6 {
		page-break-after: avoid;
	}

	ul,  ol,  dl {
		page-break-before: avoid;
	}
}